Skip to content

Add RUN_RESOURCE_HEAVY_TESTS env var#20935

Closed
iluuu1994 wants to merge 1 commit into
php:PHP-8.2from
iluuu1994:gh-20762
Closed

Add RUN_RESOURCE_HEAVY_TESTS env var#20935
iluuu1994 wants to merge 1 commit into
php:PHP-8.2from
iluuu1994:gh-20762

Conversation

@iluuu1994

@iluuu1994 iluuu1994 commented Jan 14, 2026

Copy link
Copy Markdown
Member

Disable resource-heavy tests by default (>1GB of memory usage), unless the RUN_RESOURCE_HEAVY_TESTS env variable is set.

Fixes GH-20762

8.3 adds:

  • ext/bz2/tests/gh20620.phpt
  • ext/standard/tests/strings/gh18976.phpt

Higher branches I'll have to look at still.

Disable resource-heavy tests by default (>1GB of memory usage), unless the
RUN_RESOURCE_HEAVY_TESTS env variable is set.

Fixes phpGH-20762

@TimWolla TimWolla left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM except nit.

Comment thread sapi/fpm/tests/proc-idle-timeout.phpt
@ndossche

Copy link
Copy Markdown
Member

I kinda need this for #20807, is this still being blocked by smth?

@iluuu1994

Copy link
Copy Markdown
Member Author

No, I can merge this tomorrow.

@ndossche

Copy link
Copy Markdown
Member

Thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants